import { Input } from 'antd';
import React from 'react';
import useCookieState from './index';

export default () => {
    const [message, setMessage] = useCookieState('useCookieStateString')
    return (
        <div>
            <Input
                value={message || ''}
                placeholder="Please enter some words..."
                onChange={(e) => setMessage(e.target.value)}
                style={{ width: 180 }}
            />
        </div>

    );
}